# -*-coding:utf-8-*-

from tests.apis.http import *
from tests.apis.base import BaseAPI


class Entries(BaseAPI):
    def __init__(self, *args, **kwargs):
        super(Entries, self).__init__(*args, **kwargs)

    def get_entry_list(self, *args, **kwargs):
        response = http_get('platform/api/entries', self.query)
        return self.assert_response_success_data(response)
